package com.mentaleye.service;

import java.util.List;
import java.util.Map;

import com.mentaleye.bean.StudentsBean;
import com.mentaleye.dal.model.Students;

public interface StudentsService {
	
    boolean insertData(Students data);
	
    boolean insertByList(List<Students> dataList);
    
	boolean updateData(Students data);
	
	boolean updateStateById(Students data);
	
	boolean updateStateByMap(Map<String,Object> map);
	
	boolean deleteByList(List<Integer> idList);
	
	boolean deleteByStuIdList(List<String> idList);
	
	Students getStudentById(Integer id);
	
    List<Students> getList();
    
    List<Students> getListByIds(List<Integer> idList);
    
    List<Students> getListByStuIds(List<String> idList);
	 
    List<Map<String,Object>> getListByMap(Map<String, Object> map);

    List<Students> queryStuByRoleId(Integer roleId);

    List<StudentsBean> queryListByState(Integer state);
}
